[INFO] fetching crate hgrep 0.3.9...
[INFO] fixing hgrep-0.3.9 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate hgrep 0.3.9 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate hgrep 0.3.9
[INFO] finished tweaking crates.io crate hgrep 0.3.9
[INFO] tweaked toml for crates.io crate hgrep 0.3.9 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate hgrep 0.3.9 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate hgrep 0.3.9 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4d872851ad8d24011e6eb84dd724a21a7cb0f953a703f46887bf9a0cbc46cd35
[INFO] running `Command { std: "docker" "start" "4d872851ad8d24011e6eb84dd724a21a7cb0f953a703f46887bf9a0cbc46cd35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d872851ad8d24011e6eb84dd724a21a7cb0f953a703f46887bf9a0cbc46cd35" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d872851ad8d24011e6eb84dd724a21a7cb0f953a703f46887bf9a0cbc46cd35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d872851ad8d24011e6eb84dd724a21a7cb0f953a703f46887bf9a0cbc46cd35" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling cc v1.2.43
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]     Checking terminal_size v0.4.3
[INFO] [stderr]     Checking clap_builder v4.5.50
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]    Compiling pcre2-sys v0.2.10
[INFO] [stderr]    Compiling serde_spanned v1.0.3
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]     Checking clap v4.5.50
[INFO] [stderr]    Compiling libmimalloc-sys v0.1.44
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling toml v0.9.8
[INFO] [stderr]     Checking quick-xml v0.38.3
[INFO] [stderr]     Checking grep-matcher v0.1.8
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking rgb v0.8.52
[INFO] [stderr]     Checking plist v1.8.0
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]    Compiling terminfo v0.9.0
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking terminal-trx v0.2.5
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]     Checking xterm-color v1.0.1
[INFO] [stderr]     Checking std_prelude v0.2.12
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking terminal-colorsaurus v1.0.1
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking console v0.16.1
[INFO] [stderr]     Checking path_abs v0.5.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking pcre2 v0.2.11
[INFO] [stderr]     Checking ansi_colours v1.2.3
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]     Checking encoding_rs_io v0.1.7
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking clap_complete v4.5.59
[INFO] [stderr]     Checking onig v6.5.1
[INFO] [stderr]     Checking clircle v0.6.1
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking content_inspector v0.2.4
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking semver v1.0.27
[INFO] [stderr]     Checking roff v0.2.2
[INFO] [stderr]     Checking bytesize v1.3.3
[INFO] [stderr]     Checking clap_mangen v0.2.31
[INFO] [stderr]     Checking grep-searcher v0.1.16
[INFO] [stderr]     Checking clap_complete_nushell v4.5.9
[INFO] [stderr]     Checking grep-pcre2 v0.1.9
[INFO] [stderr]     Checking mimalloc v0.1.48
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking ignore v0.4.24
[INFO] [stderr]     Checking grep-regex v0.1.14
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking shlex v1.3.0
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]     Checking insta v1.43.2
[INFO] [stderr]    Compiling serde_with_macros v3.15.1
[INFO] [stderr]    Compiling serde_with v3.15.1
[INFO] [stderr]     Checking syntect v5.3.0
[INFO] [stderr]    Compiling bat v0.26.0
[INFO] [stderr]     Checking hgrep v0.3.9 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/chunk.rs (1 fix)
[INFO] [stderr]        Fixed src/syntect.rs (2 fixes)
[INFO] [stderr]        Fixed src/test.rs (4 fixes)
[INFO] [stderr]        Fixed src/ripgrep.rs (3 fixes)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/main.rs (10 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s
[INFO] [stderr] crater-edition-check: hgrep v0.3.9 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking hgrep v0.3.9 (/opt/rustwide/workdir)
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> src/test.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             unsafe { env::set_var(name, v) };
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:1:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #![deny(unsafe_code)]
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]   --> src/test.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |             unsafe { env::remove_var(name) };
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/test.rs:108:17
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 unsafe { env::set_var(name, value) };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/test.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 unsafe { env::remove_var(name) };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hgrep` (lib test) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "4d872851ad8d24011e6eb84dd724a21a7cb0f953a703f46887bf9a0cbc46cd35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d872851ad8d24011e6eb84dd724a21a7cb0f953a703f46887bf9a0cbc46cd35", kill_on_drop: false }`
[INFO] [stdout] 4d872851ad8d24011e6eb84dd724a21a7cb0f953a703f46887bf9a0cbc46cd35
